<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>Hello mdui</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<script type="text/javascript" src="../../statics/common/js/header.js"></script>
		<!--标准mdui.css-->
		<link rel="stylesheet" href="../../statics/mdui/css/mdui.min.css">
		<!--App自定义的css-->
		<link rel="stylesheet" type="text/css" href="../../statics/mdui/css/app.css"/>
		<style>
			.mdui-btn{
		        margin-top: 10px;
		        margin-right: 100px;
		        margin-left: 10px;
		    }
		</style>
		
	</head>

	<body>
		<header class="mdui-bar mdui-bar-nav">
		    <a class="mdui-action-back mdui-icon mdui-icon-back mdui-pull-left"></a>
		    <h1 class="mdui-title">带数字的按钮</h1>
		</header>
		<div class="mdui-content">
		    <div class="mdui-content-padded">
		        <button type="button" class="mdui-btn">Badge button <span class="mdui-badge">1</span></button>
		        <button type="button" class="mdui-btn mdui-btn-primary">Badge button <span class="mdui-badge mdui-badge-primary">2</span></button>
		        <button type="button" class="mdui-btn mdui-btn-success">Badge button <span class="mdui-badge mdui-badge-success">12</span></button>
		        <button type="button" class="mdui-btn mdui-btn-warning">Badge button <span class="mdui-badge mdui-badge-warning">121</span></button>
		        <button type="button" class="mdui-btn mdui-btn-danger">Badge button <span class="mdui-badge mdui-badge-danger">999</span></button>
		        <button type="button" class="mdui-btn mdui-btn-royal">Badge button <span class="mdui-badge mdui-badge-royal">999</span></button>
		
		    </div>
		</div>
	</body>
	<script src="../../statics/mdui/js/mdui.min.js"></script>
	<script>
		mdui.init({
			swipeBack:true //启用右滑关闭功能
		});
	</script>
</html>